<?php
    $customerAddressId = $this->getCustomer()->getDefaultBilling();
    $address = $customerAddressId ? Mage::getModel('customer/address')->load($customerAddressId) : null;
?>

<p>
    Navn: <?php echo $this->htmlEscape($this->getCustomer()->getName()) ?><br />
    <?php if($address){ ?>
        Gadenavn: <?php echo $this->htmlEscape($address->getStreet(1)) ?><br />
        Postnr: <?php echo $this->htmlEscape($address->getPostcode()) ?>
    <?php } ?>
</p>
<p>
    <?php if($address){ ?>
        Telefon: <?php echo $this->htmlEscape($address->getTelephone()) ?><br />
    <?php } ?>
    Mail: <a class="link-email" href="mailto:<?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?>"><?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?></a>
</p>
<p><a href="<?php echo $this->getUrl('customer/account/edit') ?>"><?php echo $this->__('Rediger') ?></a></p>
